home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ForCLI / mkfscript.readme < prev    next >
Text File  |  1996-09-26  |  2KB  |  47 lines

  1. Short:    Makes *ix scripts for ncftp from file index
  2. Author:   uairk@mcl.mcl.ucsb.edu
  3. Uploader: uairk@mcl.mcl.ucsb.edu
  4. Type:     util/cli
  5.  
  6. This was a quick little program to take something like the aminet index file and
  7. produce a script I could run from my *ix account at school that would use ncftp
  8. to retrieve a group of files in the background so that I could go about my usual
  9. business and at the end of the day I'd have stuff to take home :) Writing the
  10. scripts by hand was ridiculous- so I wrote it in REXX- this was slow so I redid
  11. it in C and went nuts adding options and making it a little more generalized - I
  12. also managed to keep it as ANSI as possible so that it _should_ compile and work
  13. on standard *ix machines as well albeit without the file-description options.
  14. For some reason even compiling with gcc and "-fwritable-strings" (thanks boing) 
  15. doesn't help with the descriptions.  Obviously I don't do enough in C or I'd 
  16. figure out the problem :)
  17.  
  18. urm... using: Just do something like
  19.  
  20. grep -i stuff INDEX | mkfscript -s ftp.cdrom.com:/pub/aminet stuff.sh
  21.  
  22. if you have it running on a *ix machine - if you have it only on your Amiga box
  23. then use "pipe" or 
  24.  
  25. grep -i stuff INDEX > stuff.index
  26. mkfscript ftp.cdrom.com:/pub/aminet stuff.sh
  27.  
  28. Read the documentation for other options and so on. mkfscript handles quite
  29. a few ways of getting information to and from.
  30.  
  31.  - Eric.
  32.    uairk@mcl.mcl.ucsb.edu
  33.    04AUG94
  34.  
  35.  
  36. ============================= Archive contents =============================
  37.  
  38. Original  Packed Ratio    Date     Time    Name
  39. -------- ------- ----- --------- --------  -------------
  40.        0       0  0.0% 05-Aug-94 12:55:58  mkfscript/
  41.    14276    9002 36.9% 04-Aug-94 23:58:24  mkfscript/mkfscript
  42.     7779    2500 67.8% 04-Aug-94 23:58:24  mkfscript/mkfscript.c
  43.     6603    2807 57.4% 04-Aug-94 23:58:24  mkfscript/mkfscript.man
  44.     1434     766 46.5% 05-Aug-94 13:01:08  mkfscript/readme.mkfscript
  45. -------- ------- ----- --------- --------
  46.    30092   15075 49.9% 06-Aug-94 16:38:46   5 files
  47.